home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / jaz_clib.arc / JZCLREOL.C < prev    next >
Text File  |  1989-04-09  |  841b  |  23 lines

  1. /*
  2. ┌────────────────────────────────────────────────────────────────────────────┐
  3. │jzclreol.c                                                                  │
  4. │Clear the line from the current cursor position to the end of the line.     │
  5. │Usage:                                                                      │
  6. │  jzclreol(0,39,BLUE);                                                      │
  7. │                                                                            │
  8. │ (C) JazSoft Software by Jack A. Zucker (301) 794-5950                      │
  9. └────────────────────────────────────────────────────────────────────────────┘
  10. */
  11.  
  12. jzclreol(frow,fcol,fattr)
  13. int frow,fcol,fattr;
  14. {
  15.   char fill[81];
  16.  
  17.   memset(fill,' ',80-fcol);
  18.   fill[80-fcol] = 0;    /* mark end of string */
  19.  
  20.   jzscrprn(fill,frow,fcol,fattr);
  21. }
  22.  
  23.